using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TddGenerator.Core.Services.Impl
{
    public class FileSystemService:IFileSystemService
    {
        public bool FileExists(string filename)
        {
            return System.IO.File.Exists(filename);
        }

        public bool FolderExists(string foldername)
        {
            return System.IO.Directory.Exists(foldername);
        }

        public string GetDirectoryName(string fileName)
        {
            return System.IO.Path.GetDirectoryName(fileName);
        }
    }
}
